require 'delegate'
require 'Date'
class User
    def born_on
        Date.new(1989,9,19)
    end
end

class UserDecorator < SimpleDelegator
    def birth_year
        born_on.year 
    end
end

decorated_user = UserDecorator.new(User.new)
puts decorated_user.birth_year